package com.demo.pack1;

public class Father {
    private static int a = 100;
    private static int j = method();

    static {
        System.out.print(" 父静态 (2222)");
    }

    Father() {
        System.out.print(" 父构造 (5555)");
    }

    {
        System.out.print(" 父方法块 (4444)");
    }
    private int i = test();
    public int test() {
        System.out.print(" 父实例方法 (3333)");
        return 1;
    }

    public static int method() {
        System.out.print(" 父静态 (1111)");
        return 1;
    }
}
